Page({
  data: {
    id:'',
    status:'',
  },
  onLoad(query) {
    let id = query.id;
    let status = query.status;

    this.setData({
      id,
      status
    })
  },
  goOrder(){
    my.navigateTo({ url: '../orderDetail/index?id=' + this.data.id + '&type=1'})
  },
  goPortal(){
    my.switchTab({
      url:'../index/index'
    })
  }
});
